<?php 
define('RUN_KATANA', true);
define('RUN_COMMANDER', true);
define('AJAX_RUN', true);
require('../includes/config.php'); 
require('../includes/loader.php'); 
require('includes/core.php'); 

header("Cache-Control: must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); 
header("Pragma: no-cache"); 
header("Expires: ".gmdate("D, d M Y H:i:s", mktime(date("H")-2, date("i"), date("s"), date("m"), date("d"), date("Y")))." GMT"); 
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
sleep(0); 

if($_GET['ajax'] == 'menu')
{ require('components/sitemap/ajax.php'); }
else
{
	if(is_object($katana->ActiveCores[$_GET['con']]))
	{ require('components/'.$katana->ActiveCores[$_GET['con']]->getHandle().'/ajax.php'); }
}
?>